From: Cosimo Cecchi Date: Sat, 16 Feb 2013 01:43:45 +0000 (-0500) Subject: viewSelector: emit a signal when the view is empty X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4839 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=153d3045ed17bf0282b319cb7f861947627cd5ff;p=gnome-shell.git viewSelector: emit a signal when the view is empty This is very a useful point in time when the size of the side controls can change without affecting any visible view. Emit a signal at that time. https://bugzilla.gnome.org/show_bug.cgi?id=693924 --- diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index b40da6fd9..7a3182a2c 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -205,6 +205,8 @@ const ViewSelector = new Lang.Class({ }, _fadePageIn: function() { + this.emit('page-empty'); + this._activePage.show(); Tweener.addTween(this._activePage, { opacity: 255,